<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>用户注册</title>
</head>
<body>
    <form action="/user/register" method="POST">
        <div>
            <label for="username">用户名：</label>
            <input type="text" id="username" name="uname">
        </div>
        <div>
            <label for="password">密码：</label>
            <input type="password" id="password" name="pwd">
        </div>
        
        <div>
            <label for="gender">性别：</label>
            <input type="radio" id="gender" name="gender" value="1" checked>男
            <input type="radio" id="gender" name="gender" value="0">女
        </div>
        
        <div>
            <label >爱好：</label>
            <input type="checkbox" value="0" name="hobbies" checked>coding
            <input type="checkbox" value="1" name="hobbies">玩
            <input type="checkbox" value="2" name="hobbies">谁
            <input type="checkbox" value="3" name="hobbies">吃
        </div>
        <div>
            <input type="submit" value="注册">
        </div>

    </form>
</body>
</html>